package com.model.dto.device.deviceOBDInfo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * TODO
 *
 * @Description
 * @Author tm
 * @Date 2023-06-07 1:18
 **/
@Data
public class GetDeviceListDTO {
    @ApiModelProperty(value = "page必须是正整数")
    @Range(min = 0, message = "page必须是正整数")
    private int page = 1;

    @ApiModelProperty(value = "pageSize必须是正整数")
    @Range(min = 0, message = "pageSize必须是正整数")
    private int pageSize = 10;

    @ApiModelProperty(value = "开始日期")
    private String startTime;
    @ApiModelProperty(value = "结束日期")
    private String endTime;
    @ApiModelProperty(value = "在线状态,0离线，1在线")
    private Integer onLineStatus;
    @ApiModelProperty(value = "设备编号")
    private String dtu;
    @ApiModelProperty(value = "IMEI")
    private String imei;
    @ApiModelProperty(value = "SIM")
    private String sim;
    @ApiModelProperty(value = "批次ID")
    private Long batchId;
    @ApiModelProperty(value = "厂家用户ID")
    private Long factoryId;
    @ApiModelProperty(value = "箱号")
    private String cartonNo;
    @ApiModelProperty(value = "是否已出售,0未出售，1已出售")
    private Integer isSell;
}
